import React from 'react'
import {Calendar} from 'antd'
import './style.css'

function onPanelChange(value, mode) {
  console.log(value, mode);
}
class Home extends React.Component {

  render() {
    return (<div>
              <h3 className="title">日历</h3>
              <Calendar onPanelChange={onPanelChange} />
            </div>
    )
  }
}

export default Home